<template>
  <div style="height: 100%">
    <el-container style="height: 100%">
      <el-aside width="200px">
        <AsideNav/>
      </el-aside>
      <el-container>
        <el-header>
          <TopNav/>
        </el-header>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
  import AsideNav from './navbar-aside/aside-nav'
  import TopNav from './navbar-top/Top-navbar'
  export default {
    name: "Main",
    components:{
      AsideNav,
      TopNav
    }
  }
</script>

<style scoped>
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }

  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
  .el-header{
    padding: 0
  }
</style>
